Optimal. Leaf size=127 \[ \frac {2 a x \sqrt {a+c x^4}}{21 c}+\frac {1}{7} x^5 \sqrt {a+c x^4}-\frac {a^{7/4} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{21 c^{5/4} \sqrt {a+c x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {285, 327, 226}
\begin {gather*} -\frac {a^{7/4} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{21 c^{5/4} \sqrt {a+c x^4}}+\frac {2 a x \sqrt {a+c x^4}}{21 c}+\frac {1}{7} x^5 \sqrt {a+c x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 226
Rule 285
Rule 327
Rubi steps
\begin {align*} \int x^4 \sqrt {a+c x^4} \, dx &=\frac {1}{7} x^5 \sqrt {a+c x^4}+\frac {1}{7} (2 a) \int \frac {x^4}{\sqrt {a+c x^4}} \, dx\\ &=\frac {2 a x \sqrt {a+c x^4}}{21 c}+\frac {1}{7} x^5 \sqrt {a+c x^4}-\frac {\left (2 a^2\right ) \int \frac {1}{\sqrt {a+c x^4}} \, dx}{21 c}\\ &=\frac {2 a x \sqrt {a+c x^4}}{21 c}+\frac {1}{7} x^5 \sqrt {a+c x^4}-\frac {a^{7/4} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{21 c^{5/4} \sqrt {a+c x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 5.50, size = 62, normalized size = 0.49 \begin {gather*} \frac {x \sqrt {a+c x^4} \left (a+c x^4-\frac {a \, _2F_1\left (-\frac {1}{2},\frac {1}{4};\frac {5}{4};-\frac {c x^4}{a}\right )}{\sqrt {1+\frac {c x^4}{a}}}\right )}{7 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.15, size = 108, normalized size = 0.85
method | result | size |
risch | \(\frac {x \left (3 x^{4} c +2 a \right ) \sqrt {x^{4} c +a}}{21 c}-\frac {2 a^{2} \sqrt {1-\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}, i\right )}{21 c \sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, \sqrt {x^{4} c +a}}\) | \(103\) |
default | \(\frac {x^{5} \sqrt {x^{4} c +a}}{7}+\frac {2 a x \sqrt {x^{4} c +a}}{21 c}-\frac {2 a^{2} \sqrt {1-\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}, i\right )}{21 c \sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, \sqrt {x^{4} c +a}}\) | \(108\) |
elliptic | \(\frac {x^{5} \sqrt {x^{4} c +a}}{7}+\frac {2 a x \sqrt {x^{4} c +a}}{21 c}-\frac {2 a^{2} \sqrt {1-\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}, i\right )}{21 c \sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, \sqrt {x^{4} c +a}}\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.07, size = 57, normalized size = 0.45 \begin {gather*} -\frac {2 \, a \sqrt {c} \left (-\frac {a}{c}\right )^{\frac {3}{4}} F(\arcsin \left (\frac {\left (-\frac {a}{c}\right )^{\frac {1}{4}}}{x}\right )\,|\,-1) - {\left (3 \, c x^{5} + 2 \, a x\right )} \sqrt {c x^{4} + a}}{21 \, c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.41, size = 39, normalized size = 0.31 \begin {gather*} \frac {\sqrt {a} x^{5} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {\frac {c x^{4} e^{i \pi }}{a}} \right )}}{4 \Gamma \left (\frac {9}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^4\,\sqrt {c\,x^4+a} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________